package ch.fhnw.qualiscan.core.db.pojos;

import java.io.Serializable;

/**
 * This pojo holds the information about categories of surveys. It is used by hibernate to get data out of the database.
 * @author Kevin Mettenberger
 *
 */
@SuppressWarnings("serial")
public class Category implements Serializable {
	
	private int id;
	private String title;
	private CategoryDescription categoryDescription;
	
	public Category() {}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public CategoryDescription getCategoryDescription() {
		return categoryDescription;
	}

	public void setCategoryDescription(CategoryDescription categoryDescription) {
		this.categoryDescription = categoryDescription;
	}
	
	
}
